// import React from "react";
import { BrowserRouter as Router, Switch, Route, Link, NavLink } from "react-router-dom";

import Home from './components/Home'
function App() {
  return (<div>
    <Router>
      <Link to='/'>首页</Link>
      {/* <NavLink to='/news'>news</NavLink> */}

      <Route path='/' component={Home}></Route>
    </Router>
  </div>);
}

export default App;
